﻿using System.ComponentModel;

namespace ThresholdAssistant.Enums
{
    /// <summary>
    /// 登录方式枚举
    /// </summary>
    public enum SignInMethodEnum
    {
        /// <summary>
        /// 账号密码登录(帐号+密码+硬件信息)
        /// </summary>
        [Description("账号密码登录")]
        AccountPassword = 0,

        /// <summary>
        /// 扫码登录(用户直接扫码授权)
        /// </summary>
        [Description("扫码登录")]
        ScanCode = 1,

        /// <summary>
        /// 扫码确认登录(帐号+密码+扫码授权)
        /// </summary>
        [Description("扫码确认登录")]
        ScanCodeConfirm = 2,

        /// <summary>
        /// 缓存登录(token+硬件信息)
        /// </summary>
        [Description("缓存登录")]
        CacheLogin = 3,

        /// <summary>
        /// 62数据(帐号+密码+62数据)
        /// </summary>
        [Description("62数据登录")]
        Data62 = 5
    }
}